function AddCustomer(){
	var showCustomers = new ShowCustomers();
	this.add=function(){
		var name = $("#name").val();
		var age = $("#age").val();
		var sal = $("#sal").val();
		var sex = $("input[name='sex']:checked").val();
		var birth = $("#birth").val();
		customer = {};
		customer.name=name;
		customer.age=age;
		customer.sal=sal;
		customer.sex=sex;
		customer.birth=birth;
		$.ajax({
			type:"POST",
			url:"addform",
			data:JSON.stringify(customer),
			contentType:"application/json"
		})
		.done(function(msg){
			showCustomers.show();
		});
	}
}